package com.example.zhilongzhang.constructionpayapp.bean;

public class CustomerBean {

    /**
     * msg : 2016-2017年度1767.5(欠费)+2941.12(滞纳金); 2017-2018年度1767.5(欠费)+1650.85(滞纳金); 2018-2019年度1767.5(欠费)+250.99(滞纳金);
     * code : 0
     * pagination : {"offset":0,"limit":10,"count":0,"page":1}
     * data : {"area":70.7,"address":"某A小区111-801室","feeduration":"2018-2019","preferfee":0,"userid":"01400000026","allowfee":0,"totalfee":10145.46,"price":25,"preferratio":0,"feetype":"热费","breakfee":4842.96,"stufffee":0,"reductfee":0,"username":"空房"}
     * limit : 10
     * count : 0
     * page : 1
     */
    private String msg;
    private int code;
    private PaginationEntity pagination;
    private DataEntity data;
    private int limit;
    private int count;
    private int page;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setPagination(PaginationEntity pagination) {
        this.pagination = pagination;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public PaginationEntity getPagination() {
        return pagination;
    }

    public DataEntity getData() {
        return data;
    }

    public int getLimit() {
        return limit;
    }

    public int getCount() {
        return count;
    }

    public int getPage() {
        return page;
    }

    public class PaginationEntity {
        /**
         * offset : 0
         * limit : 10
         * count : 0
         * page : 1
         */
        private int offset;
        private int limit;
        private int count;
        private int page;

        public void setOffset(int offset) {
            this.offset = offset;
        }

        public void setLimit(int limit) {
            this.limit = limit;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getOffset() {
            return offset;
        }

        public int getLimit() {
            return limit;
        }

        public int getCount() {
            return count;
        }

        public int getPage() {
            return page;
        }
    }

    public class DataEntity {
        /**
         * area : 70.7
         * address : 某A小区111-801室
         * feeduration : 2018-2019
         * preferfee : 0.0
         * userid : 01400000026
         * allowfee : 0.0
         * totalfee : 10145.46
         * price : 25.0
         * preferratio : 0.0
         * feetype : 热费
         * breakfee : 4842.96
         * stufffee : 0.0
         * reductfee : 0.0
         * username : 空房
         */
        private double area;
        private String address;
        private String feeduration;
        private double preferfee;
        private String userid;
        private double allowfee;
        private String totalfee;
        private double price;
        private double preferratio;
        private String feetype;
        private double breakfee;
        private double stufffee;
        private double reductfee;
        private String username;
        String companycode;

        public String getCompanyCode() {
            return companycode;
        }

        public void setCompanyCode(String companycode) {
            this.companycode = companycode;
        }

        public void setArea(double area) {
            this.area = area;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public void setFeeduration(String feeduration) {
            this.feeduration = feeduration;
        }

        public void setPreferfee(double preferfee) {
            this.preferfee = preferfee;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public void setAllowfee(double allowfee) {
            this.allowfee = allowfee;
        }

        public void setTotalfee(String totalfee) {
            this.totalfee = totalfee;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public void setPreferratio(double preferratio) {
            this.preferratio = preferratio;
        }

        public void setFeetype(String feetype) {
            this.feetype = feetype;
        }

        public void setBreakfee(double breakfee) {
            this.breakfee = breakfee;
        }

        public void setStufffee(double stufffee) {
            this.stufffee = stufffee;
        }

        public void setReductfee(double reductfee) {
            this.reductfee = reductfee;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public double getArea() {
            return area;
        }

        public String getAddress() {
            return address;
        }

        public String getFeeduration() {
            return feeduration;
        }

        public double getPreferfee() {
            return preferfee;
        }

        public String getUserid() {
            return userid;
        }

        public double getAllowfee() {
            return allowfee;
        }

        public String getTotalfee() {
            return totalfee;
        }

        public double getPrice() {
            return price;
        }

        public double getPreferratio() {
            return preferratio;
        }

        public String getFeetype() {
            return feetype;
        }

        public double getBreakfee() {
            return breakfee;
        }

        public double getStufffee() {
            return stufffee;
        }

        public double getReductfee() {
            return reductfee;
        }

        public String getUsername() {
            return username;
        }
    }
}
